import { createRouter, createWebHistory } from 'vue-router'
import MerchantList from './components/MerchantList.vue'

const routes = [
  {
    path: '/',
    redirect: '/merchants'
  },
  {
    path: '/merchants',
    component: MerchantList
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router